<?php
    include_once('library/core.php');
?>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <?php core::getHeader(); ?>
        <title>The gioi rao vat</title>
        <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
        <link rel="stylesheet" type="text/css" href="<?php echo URL::getLink('style/header-style.css'); ?>">
        <link rel="stylesheet" type="text/css" href="<?php echo URL::getLink('style/admin/style.css'); ?>">
        <link rel="stylesheet" type="text/css" href="<?php echo URL::getLink('style/newlayout.css'); ?>">
        <link rel="stylesheet" type="text/css" href="<?php echo URL::getLink('style/theme.php'); ?>">
        <link rel="stylesheet" type="text/css" href="<?php echo URL::getLink('style/main.css'); ?>">
        <link rel="stylesheet" type="text/css" href="<?php echo URL::getLink('css/ui-lightness/jquery-ui-1.9.2.custom.css'); ?>">

        <link rel="stylesheet" type="text/css" href="<?php echo URL::getLink('style/style.css'); ?>">
        <link rel="stylesheet" type="text/css" href="<?php echo URL::getLink('style/custom.css'); ?>">
        <link rel="stylesheet" type="text/css" href="<?php echo URL::getLink('style/entity.css'); ?>">

        <link rel="stylesheet" type="text/css" href="<?php echo URL::getLink('style/upload/jquery.fileupload.css'); ?>">
        <link rel="stylesheet" type="text/css" href="<?php echo URL::getLink('style/slider/bjqs.css'); ?>">
        <link rel="stylesheet" type="text/css" href="<?php echo URL::getLink('style/carousel/custom.css'); ?>">
        <link rel="stylesheet" type="text/css" href="<?php echo URL::getLink('style/carousel/elastislide.css'); ?>">
        <script type="text/javascript" src="<?php echo URL::getLink('script/jquery-2.0.2.min.js'); ?>"></script>
        <script type="text/javascript" src="<?php echo URL::getLink('script/jquery-ui-1.9.2.custom.min.js'); ?>"></script>
        <script type="text/javascript" src="<?php echo URL::getLink('script/jquery.mousewheel.js'); ?>"></script>
        <script type="text/javascript" src="<?php echo URL::getLink('script/masonry.pkgd.min.js'); ?>"></script>
        <script type="text/javascript" src="<?php echo URL::getLink('script/script.js'); ?>"></script>
        <script type="text/javascript" src="<?php echo URL::getLink('script/scriptuser.js'); ?>"></script>
        <script type="text/javascript" src="<?php echo URL::getLink('script/scriptprocess.js'); ?>"></script>
        <script type="text/javascript" src="<?php echo URL::getLink('script/scriptadmin.js'); ?>"></script>
        <script type="text/javascript" src="<?php echo URL::getLink('script/jquery-custom-combobox.js'); ?>"></script>

        <script type="text/javascript" src="<?php echo URL::getLink('script/upload/bootstrap.min.js'); ?>"></script>
        <script type="text/javascript" src="<?php echo URL::getLink('script/upload/jquery.iframe-transport.js'); ?>"></script>
        <script type="text/javascript" src="<?php echo URL::getLink('script/upload/jquery.fileupload.js'); ?>"></script>
        <script type="text/javascript" src="<?php echo URL::getLink('script/bjqs-1.3.js'); ?>"></script>
        <script type="text/javascript" src="<?php echo URL::getLink('script/carousel/modernizr.custom.17475.js'); ?>"></script>
        <script type="text/javascript" src="<?php echo URL::getLink('script/carousel/jquery.elastislide.js'); ?>"></script>
        <script type="text/javascript">
            $(document).ready(function(){
                $('.admin_left_menu li').click(function(){
                    $(this).find('ul').toggle(); 
                });
            });
        </script>
    </head>

    <body>
        <div id="admin_header">
            <?php include('layout/adminCP/adminHeader.php');?>
        </div>
        <div id="admin_left_content">
            <?php include('layout/adminCP/adminLeftMenu.php'); ?>
        </div>
        <div id="admin_content">
            <?php core::getContent(); ?>
        </div>

        <?php include('layout/loginForm.php'); ?>
        <?php include('layout/registerForm.php'); ?> 
        <?php include('layout/popup_template.php');?>

        <?php   
            if(database::isUser())
            {
                includeBlock('chat/messageBlock');
                includeBlock('chat/poupnotification');
            }
        ?>
        <div id="admin_footer"><i class="fa fa-heart-o"></i>  Sell center Admin Control Panel</div>
    </body>
</html>